<?php

class GameController extends Controller {
	  public function __construct($id, $module = null) {
	    parent::__construct ( $id, $module );
	    $this->layout = 'application.views.layouts.layout';
		// $wgGoodsType = WgGoodsType::model ()->findById ( '1' );
		// $this->render ('application.views.layouts.layout', array ('wgGoodsType' => $wgGoodsType ) );
  	}
	    public function actionTetris(){
	    	$this->layout='application.views.layouts.none';
    		$this->render ( 'tetris');
  		}
}